package com.sz.designpattern.create5.singleton.lazy;

public class StaticInnerSingleton {

    private StaticInnerSingleton() {
    }

    private static class Holder{
        private static StaticInnerSingleton singleton = new StaticInnerSingleton();
    }

    public static StaticInnerSingleton getInstance(){
        return Holder.singleton;
    }

}
